package com.sinosoft.generateDataInfo.system.dao;

import java.sql.SQLException;

import com.sinosoft.generateDataInfo.common.system.BaseSqlSessionDaoSupport;
import com.sinosoft.generateDataInfo.system.MapperSystem;
import com.sinosoft.generateDataInfo.system.vo.Table;

public class SystemDaoInOracleImpl extends BaseSqlSessionDaoSupport implements ISystemDao {

	private MapperSystem getMapperSystem(){
		return getSqlSession().getMapper(MapperSystem.class);
	}

	@Override
	public void operate(String sql) throws SQLException {
		getMapperSystem().operate(sql);
		
	}
	
	@Override
	public void createPRO_CREATE_TABLE() throws SQLException {
		getMapperSystem().createPRO_CREATE_TABLE();

	}

	@Override
	public void createPRO_DROP_PROCEDURE() throws SQLException {
		getMapperSystem().createPRO_DROP_PROCEDURE();
		
	}
	
	@Override
	public void createTable(Table t) throws SQLException {
		getMapperSystem().createTable(t);

	}

	@Override
	public void createPRO_REGISTER_LOGOUT_STATUS() throws SQLException {
		getMapperSystem().createPRO_REGISTER_LOGOUT_STATUS();

	}

	@Override
	public void createPRO_REGISTER_LOGOUT_STATUS_IntervalRun()
			throws SQLException {
		getMapperSystem().createPRO_REGISTER_LOGOUT_STATUS_IntervalRun();

	}

	@Override
	public void createPRO_DROP_TABLE() throws SQLException {
		getMapperSystem().createPRO_DROP_TABLE();

	}

	@Override
	public void dropTable(Table t) throws SQLException {
		getMapperSystem().dropTable(t);

	}

	@Override
	public void dropPRO_REGISTER_LOGOUT_STATUS() throws SQLException {
		getMapperSystem().dropPRO_REGISTER_LOGOUT_STATUS();

	}

	@Override
	public void dropPRO_REGISTER_LOGOUT_STATUS_IntervalRun()
			throws SQLException {
		getMapperSystem().dropPRO_REGISTER_LOGOUT_STATUS_IntervalRun();

	}

	@Override
	public void dropPRO_CREATE_TABLE() throws SQLException {
		getMapperSystem().dropPRO_CREATE_TABLE();

	}

	@Override
	public void dropPRO_DROP_TABLE() throws SQLException {
		getMapperSystem().dropPRO_DROP_TABLE();

	}

	@Override
	public void dropPRO_DROP_PROCEDURE() throws SQLException {
		getMapperSystem().dropPRO_DROP_PROCEDURE();
		
	}
}
